package o;

import androidx.annotation.NonNull;
import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e;

public class cwn {
    public static ResponseBean ॱ(BaseRequest o_cvu) {
        ResponseBean ˏ = ˏ(o_cvu);
        ResponseBean.setResponseCode(ˏ, ResponseBean.SERVICE_ZONE_NOT_SUPPORT_ERROR);
        ResponseBean.setErrCause(ˏ, e.ZONE_NOT_SUPPORT);
        return ˏ;
    }

    @NonNull
    public static ResponseBean ˏ(BaseRequest o_cvu) {
        ResponseBean ˊ;
        try {
            ˊ = cvr.ˊ(BaseRequest.getMethod_(o_cvu));
        } catch (Throwable e) {
            cvp.ˎ.ˊ("StartupInterceptor", "createResponseBean error, method:" + BaseRequest.getMethod_(o_cvu), e);
            ˊ = null;
        } catch (Throwable e2) {
            cvp.ˎ.ˊ("StartupInterceptor", "createResponseBean error, method:" + BaseRequest.getMethod_(o_cvu), e2);
            ˊ = null;
        }
        if (ˊ == null) {
            return new ResponseBean();
        }
        return ˊ;
    }
}
